package cache

import (
	"log/slog"

	"gitee.com/gousing/cache/internal"
)

// GetLogger 获取全局日志实例, 默认使用 slog.Default()
func GetLogger() *slog.Logger {
	return internal.GetLogger()
}
func SetLogger(log *slog.Logger) {
	if log != nil {
		internal.SetLogger(log)
	}
}
